package org.dromara.system.domain.bo;

import org.dromara.system.domain.TDaAlarmDefination;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 报警信息定义业务对象 t_da_alarm_defination
 *
 * @author Liu
 * @date 2023-11-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = TDaAlarmDefination.class, reverseConvertGenerate = false)
public class TDaAlarmDefinationBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long ID;

    /**
     * 
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String OpcServer;

    /**
     * 
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String TagName;

    /**
     * 
     */
    @NotNull(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long Bit;

    /**
     * 设备编码
     */
    @NotBlank(message = "设备编码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String EquipCode;

    /**
     * 报警编码
     */
    @NotBlank(message = "报警编码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String AlarmCode;

    /**
     * 报警信息
     */
    @NotBlank(message = "报警信息不能为空", groups = { AddGroup.class, EditGroup.class })
    private String Name1;

    /**
     * 
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String Name2;

    /**
     * 
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String Name3;

    /**
     * 
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String Name4;

    /**
     * 
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String Name5;

    /**
     * 
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String Name6;

    /**
     * 
     */
    @NotNull(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long isDelete;

    /**
     * 
     */
    @NotNull(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date CreatedOn;

    /**
     * 
     */
    @NotNull(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long PlantNO;

    /**
     * 
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String AlarmLevel;


}
